Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetControlSetting

You can use the QTVRGetControlSetting function to get the current state of a control setting for an object node.

OSErr QTVRGetControlSetting (
                     QTVRInstance qtvr,
                     QTVRControlSetting setting,
                     Boolean *enable);
qtvr
An instance of a QuickTime VR movie.
setting
A control setting. See "Control Settings" for a description of the available control settings.
enable
On entry, a pointer to a Boolean value. On exit, that value is set to true if the specified control setting is currently enabled for the specified object node or to false otherwise.
function result
A result code.

DESCRIPTION

The QTVRGetControlSetting function returns, through the enable parameter, the current state of the control setting specified by the setting parameter for the object node specified by the qtvr parameter. If enable is true , the specified setting is currently enabled; otherwise, that setting is disabled.

SPECIAL CONSIDERATIONS

QTVRGetControlSetting is valid only for object nodes.

SEE ALSO

Use QTVRSetControlSetting (next) to set the state of a control setting for an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |